.site-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0 20px;
  font-family: 'Arial', sans-serif;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.footer-title {
  color: #3498db;
  margin-bottom: 15px;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

.toggle-icon {
  position: absolute;
  right: 0;
  font-size: 16px;
  display: none;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-list li {
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-list li:hover {
  color: #3498db;
}

.social-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  font-size: 14px;
}

/* 中等屏幕尺寸 */
@media (max-width: 900px) {
  .footer-section {
    flex: 0 0 50%;
    margin-bottom: 30px;
  }
}

/* 小屏幕尺寸 */
@media (max-width: 600px) {
  .footer-section {
    flex: 0 0 100%;
    margin-bottom: 15px;
    padding: 0;
  }
  
  .footer-title {
    padding: 10px 0;
    border-bottom: 1px solid #34495e;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .toggle-icon {
    display: inline-block;
  }
  
  .footer-list {
    max-height: 0;
    overflow: hidden;
    padding-left: 15px;
  }
  
  .footer-section.active .footer-list {
    max-height: 200px;
    padding-top: 10px;
  }
  
  .social-media {
    max-height: 0;
    overflow: hidden;
    padding-left: 15px;
  }
  
  .footer-section.active .social-media {
    max-height: 200px;
    padding-top: 10px;
  }
}